package org.dawing.shop.cart.query.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.dawing.shop.cart.common.dto.ShopDto;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.util.Map;

/**
 * Created by miou on 2017/6/13 0013.
 */
@Document
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CartEntry {

    private String id;

    private Map<String,ShopDto> shops;

    private BigDecimal totalPrice;

    private long totalQuantity;

}
